home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
xwall
/
Xreset.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1995-06-20
|
189b
|
10 lines
#!/bin/sh
#
# Destroy authorization.
xauth -f /.Xauthority remove $DISPLAY
host=`echo $DISPLAY | sed "s/:.*/X/"`
if [ $host = "X" ]
then
xauth -f /.Xauthority remove `hostname`$DISPLAY
fi